Package com.cisco.pt.ipc.sim.impl
Class IsatapClientImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.IsatapClientImpl
- All Implemented Interfaces:
IPCObject,IsatapClient,Process
Information provided by the PKI file:
\class IsatapClient
\brief IsatapClient is the class that handles the ISATAP client.
\example network().getDevice("PC0").getProcess("IsatapClient")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionIsatapClientImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:booleanInformation provided by the PKI file:voidsetEnabled(boolean flag) Information provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
IsatapClientImpl
public IsatapClientImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setIsatapRouter
Information provided by the PKI file:
\brief Sets the ISATAP router IP address. \param ip, the IP address of the ISATAP router. \return bool, true if successful, otherwise false.- Specified by:
setIsatapRouterin interfaceIsatapClient- Parameters:
ip- Takes in a parameter of ip- Returns:
- boolean Returns a boolean
-
getIsatapRouter
Information provided by the PKI file:
\brief Returns the IP address of the ISATAP router. \return ip, the IP address of the ISATAP router.- Specified by:
getIsatapRouterin interfaceIsatapClient- Returns:
- IPAddress Returns a IPAddress
-
getPrefix
Information provided by the PKI file:
\brief Returns the subnet prefix. \return ip, the the subnet prefix.- Specified by:
getPrefixin interfaceIsatapClient- Returns:
- IPAddress Returns a IPAddress
-
setPrefix
Information provided by the PKI file:
\brief Sets the subnet prefix. \param ip, the subnet prefix.- Specified by:
setPrefixin interfaceIsatapClient- Parameters:
prefix- Takes in a parameter of prefix
-
isEnabled
public boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the ISATAP client is enabled, otherwise false. \return bool, true if the ISATAP client is enabled, otherwise false.- Specified by:
isEnabledin interfaceIsatapClient- Returns:
- boolean Returns a boolean
-
setEnabled
public void setEnabled(boolean flag) Information provided by the PKI file:
\brief Enables or disables the ISATAP client \param flag, true to enable the ISATAP client, false to disable it.- Specified by:
setEnabledin interfaceIsatapClient- Parameters:
flag- Takes in a parameter of flag
-